package com.hualan.bean;


import com.alibaba.fastjson.annotation.JSONField;

import java.beans.Transient;
import java.math.BigDecimal;
import java.util.Date;


public class PanghuBulkOrderGoods {
    /**
     * 商品id
     */

    private Integer goodsId;

    /**
     * 订单id
     */
    private Integer orderId;

    /**
     * 商品数量
     */
    private Integer goodsNum;

    /**
     * 添加时间
     */
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date addTime;

    /**
     * 商品单价
     */
    private BigDecimal goodsUnitPrice;

    private PanghuBulkGoods bulkGoods;

    /**
     * 获取商品id
     *
     * @return goods_id - 商品id
     */
    public Integer getGoodsId() {
        return goodsId;
    }

    /**
     * 设置商品id
     *
     * @param goodsId 商品id
     */
    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }

    /**
     * 获取订单id
     *
     * @return order_id - 订单id
     */
    public Integer getOrderId() {
        return orderId;
    }

    /**
     * 设置订单id
     *
     * @param orderId 订单id
     */
    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    /**
     * 获取商品数量
     *
     * @return goods_num - 商品数量
     */
    public Integer getGoodsNum() {
        return goodsNum;
    }

    /**
     * 设置商品数量
     *
     * @param goodsNum 商品数量
     */
    public void setGoodsNum(Integer goodsNum) {
        this.goodsNum = goodsNum;
    }

    /**
     * 获取添加时间
     *
     * @return add_time - 添加时间
     */
    public Date getAddTime() {
        return addTime;
    }

    /**
     * 设置添加时间
     *
     * @param addTime 添加时间
     */
    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }

    /**
     * 获取商品单价
     *
     * @return goods_unit_price - 商品单价
     */
    public BigDecimal getGoodsUnitPrice() {
        return goodsUnitPrice;
    }

    /**
     * 设置商品单价
     *
     * @param goodsUnitPrice 商品单价
     */
    public void setGoodsUnitPrice(BigDecimal goodsUnitPrice) {
        this.goodsUnitPrice = goodsUnitPrice;
    }

    public PanghuBulkGoods getBulkGoods() {
        return bulkGoods;
    }

    public void setBulkGoods(PanghuBulkGoods bulkGoods) {
        this.bulkGoods = bulkGoods;
    }
}